package com.sure.yyr.security.user;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class User {

    private String u_id;
    private String u_name;
    private Integer u_sex;


    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //说明输出日期输出json的格式
    private Date u_birth;


    private String u_status;
    private String u_avatar;

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public Integer getU_sex() {
        return u_sex;
    }

    public void setU_sex(Integer u_sex) {
        this.u_sex = u_sex;
    }

    public Date getU_birth() {
        return u_birth;
    }

    public void setU_birth(Date u_birth) {
        this.u_birth = u_birth;
    }

    public String getU_status() {
        return u_status;
    }

    public void setU_status(String u_status) {
        this.u_status = u_status;
    }

    public String getU_avatar() {
        return u_avatar;
    }

    public void setU_avatar(String u_avatar) {
        this.u_avatar = u_avatar;
    }
}
